home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / news / misc / eep / eep1_9 / makefile < prev    next >
Encoding:
Makefile  |  1993-03-25  |  2.0 KB  |  70 lines

  1. #
  2. # Makefile for eep .newsrc editor
  3. #
  4. # The following flags are important:
  5. #  UNIX   - compiles UNIX version of code 
  6. #  DIRENT - does your system have dirent.h?
  7. #           See eep.h -- you might need to change path to sys/dirent.h
  8. #  ANSI   - Try to follow ANSI conventions
  9. #
  10. # Note that if you build EEP! this makefile will send a very brief
  11. # message to the author.  If you don't want to do this, just delete
  12. # those lines.  It will help me to know how EEP! is spreading.
  13. #
  14. # For NNTP (or INND) support, you must have the source code
  15. # for an NNTP client available on your system, and the path
  16. # to the compiled client object file.  If you don't want
  17. # NNTP, the following few lines should be commented out.
  18. #
  19. #NNTPDEF=-DNNTP
  20. #NNTPSRC=/wren1/src/News/nntp-1.5.11/common
  21. #NNTPCLIENT=$(NNTPSRC)/clientlib.o
  22. #NNTPINCL=-I$(NNTPSRC)
  23.  
  24. CC=cc
  25. #CC=gcc
  26.  
  27. # On SunOS 4.x systems you will need the following
  28. #LIBS=-lcurses -L/usr/5lib -ltermcap
  29. #HDRS=-I/usr/5include -I/usr/include $(NNTPINCL)
  30.  
  31. # Standard UNIX systems use the following
  32. LIBS=-lcurses
  33.  
  34. # Some systems (e.g. ISC V.3) keep networking in this library.
  35. # This is only needed if you require NNTP.
  36. #LIBS=-lcurses  -linet
  37.  
  38. HDRS=$(NNTPINCL)
  39.  
  40. CCFLAGS=-O -DUNIX -DDIRENT -DANSI $(NNTPDEF) $(HDRS)
  41.  
  42. HDR=eep.h
  43.  
  44. eep:        eepmain.o eepmisc.o eepmenu.o eepview.o 
  45.         $(CC) -o eep eepmain.o eepmisc.o eepmenu.o \
  46.                     eepview.o $(NNTPCLIENT) $(LIBS)
  47.         strip eep
  48.         echo "Telling Paul Gillingwater that EEP! 1.9 compiled OK!"
  49.         echo Built eep on `uname -a` | mail paul@actrix.co.at
  50.  
  51. eepmain.o:    eepmain.c $(HDR)
  52.         $(CC) $(CCFLAGS) -c eepmain.c
  53.  
  54. eepmisc.o:    eepmisc.c $(HDR)
  55.         $(CC) $(CCFLAGS) -c eepmisc.c
  56.  
  57. eepmenu.o:    eepmenu.c $(HDR)
  58.         $(CC) $(CCFLAGS) -c eepmenu.c
  59.  
  60. eepview.o:    eepview.c $(HDR)
  61.         $(CC) $(CCFLAGS) -c eepview.c
  62.  
  63. shar:
  64.         shar README eepmain.c eepmenu.c eepmisc.c eepview.c \
  65.             makefile.dos makefile.unx eep.h eep.1 ndir.h > eep.shar
  66.  
  67. tar:
  68.         tar cvf eep.tar README eepmain.c eepmenu.c eepmisc.c eepview.c \
  69.             makefile makefile.dos makefile.unx eep.h eep.1 ndir.h
  70.